package UI.Ejercicio18;

import java.awt.Graphics;

import javax.swing.*;

public class Circulo implements IFiguraGeometrica {

	private int x;
	private int y;
	public Circulo(int coorX, int coorY){
		this.x = coorX;
		this.y = coorY;
	}
	@Override
	public void dibujar(Graphics g) {
		g.drawOval(this.x, this.y, 50, 50);
	}
}
